package com.smh.yunpicturebackend.pojo.constant;

import java.util.List;

/**
 * @author shiminghui
 * @date 2025/6/19 22:42
 * @description: 文件常量
 */
public interface FileConstant {
    String TEMP_FILE_PATH = "D:\\develop\\test-file";
    String TEMP_FILE_PREFIX = "yun-picture";
    String PUBLIC_FILE = "public";
    String PRIVATE_FILE = "private";
    List<String> IMAGE_SUFFIX_LIST = List.of("jpg", "jpeg", "png", "gif", "bmp", "webp");
    List<String> ALLOWED_IMAGE_TYPE_LIST = List.of("image/jpeg", "image/png", "image/gif", "image/bmp", "image/webp");
    Integer MAX_IMAGE_SIZE =  1024 * 1024 * 10;
    String THUMBNAIL_SUFFIX = "_thumbnail";
    Integer MIN_THUMBNAIL_SIZE = 1024 * 100;
}
